package datastructure
{
	/**
	 * 哈夫曼树节点 
	 * @author juxuan
	 * 
	 */	
	public class HTNode
	{
		public var name:String;
		public var probability:Number;
		
		public var left:HTNode = null;
		public var right:HTNode = null;
		public var parent:HTNode = null;
		
		public var distance:int = 0;
		public var OffsetX:int = 0;
		public var xCoordinate:int;
		public var yCoordinate:int;
		
		public function HTNode(n:String = "",p:Number = 0)
		{
			this.name = n;
			this.probability = p;
		}
		
		
	}
}